package com.ofd.sign.mode;

import com.ofd.sign.domin.EcertLockSignReq;
import com.ofd.sign.domin.EcertSealReq;
import com.ofd.sign.domin.SignRes;

/**
 * 签章模式
 *
 * @author wangrenjie
 */
public interface ISignModeActuator<T,E> {

    String U_KEY_BEAN_ID = "UKEY";

    String ONLINE_SIGN_BEAN_ID = "OnLineSign";

    //1.盖章
    SignRes<T> seal(EcertSealReq<E> req);

    //2.锁定签名
    SignRes<T> lockSign(EcertLockSignReq<E> req);

}
